@import 'mo/style/common';

#{$breadcrumb} {
    display: flex;
    overflow: auto;
    white-space: nowrap;

    &__item {
        align-items: center;
        background-color: var(--breadcrumb-background);
        color: var(--breadcrumb-foreground);
        cursor: pointer;
        display: flex;
        justify-content: left;
        text-decoration: none;

        &:focus {
            color: var(--breadcrumb-focusForeground);
            outline: 1px solid var(--list-focusOutline);
            outline-offset: -1px;
        }

        &:hover {
            opacity: 0.8;
        }
    }

    &__label {
        align-items: center;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: 16px;
        display: flex;
        height: 100%;
        justify-content: center;
        text-decoration: none;
        width: 100%;
    }
}
